package com.zhisheng.day10_tlias.service;

import com.zhisheng.day10_tlias.anno.MyBJ;
import com.zhisheng.day10_tlias.entry.Dept;

import java.io.FileNotFoundException;
import java.util.List;

public interface DeptService {

    @MyBJ
    List<Dept> list();

    int delById(Integer id) throws FileNotFoundException;

    Dept getById(Integer id);

    int updateById(Dept dept);

    int insert(Dept dept);
}
